package nil.ed.simulator.request.ui.jfx.ui.table.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * @author lidelin.
 */
@Documented
@Target({FIELD, TYPE})
@Retention(RUNTIME)
public @interface TableColumn {
    /**
     * 列名.
     * @return 列名.
     */
    String value();

    int minWidth() default -1;

    int minHeight() default -1;

}
